﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Demo.aspx.vb" Inherits="Demo_Demo"      %>

<%@ Register Src="../UserControl/ucHeader.ascx" TagName="ucHeader" TagPrefix="uc1" %>

<%@ Register Assembly="ePivotTable" Namespace="HBBSoft.Pivot" TagPrefix="HBBPivot" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>ePivotTable-演示</title>
    <link rel="stylesheet" type="text/css" href="../Css/StyleSheet.css" />
</head>
<body   scroll="no"   >
<center>
<font style="font-size:10pt;">

    <form id="form1" runat="server" method=post>
    <div>
        <table border="0" cellpadding="0" cellspacing="0" style="width: 800px; height: 100%; background-color:#eef3ff;  border-left:solid 1px #a9a9a9; border-right:solid 1px #a9a9a9 ">
        <tr height="10px"><td>
            <uc1:ucHeader ID="UcHeader1" runat="server" />
        </td></tr>
        <tr height="100%"><td>
        
        <table border="0" cellpadding="2" cellspacing="0" style="width: 100%; height: 100%">
            <tr>
                <td style="height: 13px; background-color: gainsboro;">
                    <table border="0" cellpadding="0" cellspacing="0" style="height: 10px">
                        <tr valign=middle >
                            <td >
                                <asp:DropDownList ID="dlReport" runat="server" AutoPostBack="True" >
                                    <asp:ListItem Value="1">综合演示报表</asp:ListItem>
                                    <asp:ListItem Value="2">简单报表</asp:ListItem>
                                    <asp:ListItem Value="3">行维度单列缩进</asp:ListItem>
                                    <asp:ListItem Value="4">动态前背景颜色</asp:ListItem>
                                    <asp:ListItem Value="5">图表</asp:ListItem>
                                    <asp:ListItem Value="6">KPI报表</asp:ListItem>
                                    <asp:ListItem Value="7">合计优先</asp:ListItem>
                                    <asp:ListItem Value="8">多个透视</asp:ListItem>
                                    <asp:ListItem Value="9">多层维度</asp:ListItem>
                                </asp:DropDownList></td>
                            <td style="width: 30px">
                            </td>
                            <td style=" border-left:solid 1px #a9a9a9;">
                                &nbsp;&nbsp;<asp:ImageButton ID="ibnCross" runat="server" ImageUrl="~/Demo/Images/Cross.gif" ToolTip="行列交换" />
                            </td>
                            <td >
                                &nbsp;&nbsp;<asp:ImageButton ID="ibnStatic" runat="server" ImageUrl="~/Demo/Images/Static.gif" ToolTip="静态报表" /> &nbsp;&nbsp;</td>
                            <td style=" border-left:solid 1px #a9a9a9;">
                                &nbsp;&nbsp;<asp:Label ID="Label1" runat="server" Text="状态：" Font-Size="10pt"></asp:Label></td>
                            <td style="">
                                <asp:DropDownList ID="dlState" runat="server" Width="73px" AutoPostBack="True">
                                </asp:DropDownList></td>
                            <td style="">
                                <asp:ImageButton ID="ibnSave" runat="server" ImageUrl="~/Demo/Images/Save.gif" ToolTip="保存当前状态" />&nbsp;&nbsp;</td>
                            <td style=" border-left:solid 1px #a9a9a9;">
                                &nbsp;&nbsp;<asp:Label ID="Label2" runat="server" Text="样式：" Font-Size="10pt"></asp:Label></td>
                            <td style="width: 100px" >
                                <asp:DropDownList ID="dlStyle" runat="server" AutoPostBack="True">
                                    <asp:ListItem Value="General">普通</asp:ListItem>
                                    <asp:ListItem Value="Clean">纯净</asp:ListItem>
                                    <asp:ListItem Value="Bright">明艳</asp:ListItem>
                                    <asp:ListItem Value="Fixed">固定行列头</asp:ListItem>
                                </asp:DropDownList></td>
                        </tr>
                    </table>
                </td>
           </tr>
            <tr>
                <td style=" height: 20px; text-align: center; border-top:solid 1px #a9a9a9;">
                    <asp:Label ID="lblReportTitle" runat="server" Font-Size="10pt" Text="演示报表"></asp:Label></td>
            </tr>
            <tr>
                <td >
                    <hbbpivot:ePivotTableControl id="ept" runat="server" height="600px"
                        width="464px" ColDimensionCssClasss="ColDimension" ColSubTotalCssClass="ColSubTotal" ColTotalCssClass="ColTotal" CssClass="Default" DataRegionCssClass="DataRegion" DataSetCssClass="DataSet" FilterRegionCssClass="FilterRegion" MeasureCssClass="Measure_Col" RowDimensionCssClasss="RowDimension" RowSubTotalCssClass="RowSubTotal" RowTotalCssClass="RowTotal" DimensionTitleCssClass="DimensionTitle" DataRowCssClass="DataRow" DataRowSubTotalCssClass="DataRowSubTotal" DataRowTotalCssClass="DataRowTotal" ColDimensionSubTotalCssClass="ColDimensionSubTotal" ColDimensionTotalCssClass="ColDimensionTotal" RowDimensionSubTotalCssClass="RowDimensionSubTotal" DimensionTitleLinkCssClass="DimensionTitleLink" FilterLinkCssClass="FilterLink"  MemberLinkCssClass="MemberLink" RowDimensionTotalCssClass="RowDimensionTotal" ColDimensionTitleCssClass="ColDimensionTitle" DataRegionTopLeftCssClass="DataRegionTopLeft" FirstRowDimensionTitleCssClass="FirstRowDimensionTitle" RowDimensionTitleCssClass="RowDimensionTitle" ColDimensionTitlePanCssClass="ColDimensionTitlePan" DataRegionPanCssClass="DataRegionPan" DataRegionPanParentCssClass="DataRegionPanParent" FilterTreeControlCssClass="FilterTreeControl" FilterTreeCssClass="FilterTree" FilterTreePanCssClass="FilterTreePan" FilterTreePanParentCssClass="FilterTreePanParent" FilterTreeTitleCssClass="FilterTreeTitle"></hbbpivot:ePivotTableControl>
                </td>
            </tr>
        </table>
        </td></tr>
</table> 
    </div>
    </form>
  
    </font>  </center>
</body>
</html>
